package com.zxt.user.security.config;

import com.zxt.user.api.utils.UserInterceptor;
import com.zxt.user.api.utils.UserUtil;
import com.zxt.user.security.filter.JwtAuthenticationTokenFilter;
import com.zxt.user.security.handle.AuthenticationEntryPointImpl;
import com.zxt.user.security.handle.LogoutSuccessHandlerImpl;
import com.zxt.user.security.service.TokenService;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @zxt 用来选择将哪些注入到spring容器
 */
@Configuration
@Import({AuthenticationEntryPointImpl.class,
        LogoutSuccessHandlerImpl.class,
        TokenService.class,
        JwtAuthenticationTokenFilter.class,
        ResourcesConfig.class,
        SecurityConfig.class,
        UserUtil.class,
        UserInterceptor.class})
public class AllConfig {
}
